import os
import importlib
import sys

env = os.getenv('DATA_ENV', 'dev')

if env == 'dev':
    from .dev_conf import redis
    from .dev_conf import celery
elif env == 'test':
    from .test_conf import redis
    from .test_conf import celery
elif env == 'prod':
    from .prod_conf import redis
    from .prod_conf import celery
else:
    pass
from config import db
from config import cache
